/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package facade;

import entities.Customer;
import java.util.List;

/**
 *
 * @author Andrés Felipe
 */
public interface CustomerFacadeRemote {

    void create(Customer customer);

    void edit(Customer customer);

    void remove(Customer customer);

    Customer find(Object id);

    List<Customer> findAll();

    List<Customer> findRange(int[] range);

    int count();
    
    List<String> getCustomerInformation(String customerIdentification, long pymeIdentification);
    
    void newCustomer(String identification, int pymeIndentification, String name, String adress, String email, String phone);

    void deleteCustomer(String identification, int pymeIdentification);
    
    List<String> findAllClients(int pymeId);
}
